#include <gtk/gtk.h>

#include "win_main.h"
#include "win_about.h"
#include "synqrone.h"

#include "main.h"

sGlobals globals={
};

int arg_c;
char **arg_v=NULL;

int main(int argc, char *argv[])
{
    gtk_init(&argc, &argv);

arg_c=argc; arg_v=argv;

    globals.win_main = gtk_window_new(GTK_WINDOW_TOPLEVEL);
    gtk_window_set_title(GTK_WINDOW(globals.win_main), PROGRAM_NAME);
    gtk_window_set_default_size(GTK_WINDOW(globals.win_main), 300, 200);
    g_signal_connect(G_OBJECT(globals.win_main), "destroy", G_CALLBACK(gtk_main_quit), NULL);
    gtk_container_add(GTK_CONTAINER(globals.win_main), win_main_widget());
    gtk_widget_show(globals.win_main);

    gtk_main();

    return 0;
}
